//
//  XPlanDate.m
//  iPlan
//
//  Created by 侯伟 on 2021/9/9.
//

#import "XPlanDate.h"

@implementation XPlanDate

+ (nullable NSString *)primaryKey{
    return @"time";
}

+ (nullable NSDictionary *)defaultPropertyValues{
    return @{@"count":@(0)};
}

- (instancetype)init
{
    self = [super init];
    if (self) {
        _time = [[NSDate date] stringYearMonthDay];
    }
    return self;
}
@end
